package com.example.prison.service;

import com.example.prison.entity.AreaManagement;
import com.example.prison.entity.DefenceArea;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.vo.DefenceAreaVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
* @author jiang
* @description 针对表【defence_area】的数据库操作Service
* @createDate 2024-06-20 14:52:58
*/
public interface DefenceAreaService extends IService<DefenceArea> {

    PageInfo<DefenceArea> get(int pageNumber, int pageSize, String name, String type);

    int add(DefenceArea record);

    void delete(String[] ids);

    void updating(DefenceArea data, String id);

    DefenceArea getById(String id);

    DefenceArea getByName(String name);

    List<AreaManagement> getUnmarkArea();

    void deleteAll();

}
